package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 车辆对象 tb_car
 * 
 * @author ruoyi
 * @date 2023-06-23
 */
public class TbCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆编号 */
    private Long carId;

    /** VIN码 */
    @Excel(name = "VIN码")
    private String carVin;

    /** 车型ID */
    @Excel(name = "车型ID")
    private String carTypeCode;

    /** 驱动电机编号 */
    @Excel(name = "驱动电机编号")
    private String carMotorCode;

    /** 电池编号 */
    @Excel(name = "电池编号")
    private String carCellCode;

    /** 电子围栏 */
    @Excel(name = "电子围栏")
    private String carRailCode;

    /** 车辆状态 */
    @Excel(name = "车辆状态")
    private Long carStatus;

    /** 创建人 */
    @Excel(name = "创建人")
    private String carUserCode;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long carDeleted;

    /** 车辆类型 */
    private String carTypeName;

    /** 电机 */
    private String motorName;

    /** 电池 */
    private String cellName;

    /** 电子围栏 */
    private String railName;



    public void setCarId(Long carId)
    {
        this.carId = carId;
    }

    public Long getCarId()
    {
        return carId;
    }
    public void setCarVin(String carVin)
    {
        this.carVin = carVin;
    }

    public String getCarVin()
    {
        return carVin;
    }
    public void setCarTypeCode(String carTypeCode)
    {
        this.carTypeCode = carTypeCode;
    }

    public String getCarTypeCode()
    {
        return carTypeCode;
    }
    public void setCarMotorCode(String carMotorCode)
    {
        this.carMotorCode = carMotorCode;
    }

    public String getCarMotorCode()
    {
        return carMotorCode;
    }
    public void setCarCellCode(String carCellCode)
    {
        this.carCellCode = carCellCode;
    }

    public String getCarCellCode()
    {
        return carCellCode;
    }
    public void setCarRailCode(String carRailCode)
    {
        this.carRailCode = carRailCode;
    }

    public String getCarRailCode()
    {
        return carRailCode;
    }
    public void setCarStatus(Long carStatus)
    {
        this.carStatus = carStatus;
    }

    public Long getCarStatus()
    {
        return carStatus;
    }
    public void setCarUserCode(String carUserCode)
    {
        this.carUserCode = carUserCode;
    }

    public String getCarUserCode()
    {
        return carUserCode;
    }
    public void setCarDeleted(Long carDeleted)
    {
        this.carDeleted = carDeleted;
    }

    public Long getCarDeleted()
    {
        return carDeleted;
    }

    public String getCarTypeName() {
        return carTypeName;
    }

    public void setCarTypeName(String carTypeName) {
        this.carTypeName = carTypeName;
    }

    public String getMotorName() {
        return motorName;
    }

    public void setMotorName(String motorName) {
        this.motorName = motorName;
    }

    public String getCellName() {
        return cellName;
    }

    public void setCellName(String cellName) {
        this.cellName = cellName;
    }

    public String getRailName() {
        return railName;
    }

    public void setRailName(String railName) {
        this.railName = railName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("carVin", getCarVin())
            .append("carTypeCode", getCarTypeCode())
            .append("carMotorCode", getCarMotorCode())
            .append("carCellCode", getCarCellCode())
            .append("carRailCode", getCarRailCode())
            .append("carStatus", getCarStatus())
            .append("carUserCode", getCarUserCode())
            .append("carDeleted", getCarDeleted())
            .append("carTypeName", getCarTypeName())
             .append("motorName", getMotorName())
             .append("cellName", getCellName())
             .append("railName", getRailName())
            .toString();
    }
}
